package com.zhijian.medical.entity.vo.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * excel导入结果vo
 *
 * @author HCG
 * @version 1.0
 * @date 2022-01-01 15:39:46
 */
@ApiModel("excel导入结果vo")
@Data
@Builder
public class ImportExcelResponseVo implements Serializable {
    private static final long serialVersionUID = -6945434582138743350L;

    /**
     * 成功的数字
     */
    @ApiModelProperty("成功的数字")
    private Integer successCount;

    /**
     * 失败的数字
     */
    @ApiModelProperty("失败的数字")
    private Integer failCount;

    @ApiModelProperty("具体数据")
    private List<DataDto> data;

    @ApiModel("具体数据vo")
    @Data
    @Builder
    public static class DataDto implements Serializable {
        private static final long serialVersionUID = 4420804464784867599L;
        /**
         * 行数
         */
        @ApiModelProperty("行数")
        private Integer rowNumber;

        /**
         * 信息
         */
        @ApiModelProperty("信息")
        private String msg;
    }


}
